<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>MyISERN 1.3 Login</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cache">
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<!-- start header -->
<div id="header">
	<div id="logo">
		<h1><a href="index.jsp">MyISERN 1.3</a></h1>
	</div>
</div>
<!-- end header -->
<!-- start page -->
<div id="page">
	<!-- start content -->
	<div id="content">
		<div class="post">
			<h1 class="title"><a href="index.html">Welcome to MyISERN!</a></h1>
			<div class="entry">
				<stripes:errors action="/Login.action"/>
			    <stripes:form id="LoginForm" action="/Login.action" focus="">
    				<table>
                            <tbody>
                                <tr>
                                    <td><strong>Username&nbsp;&nbsp;&nbsp;</strong></td>
                                    <td><stripes:text name="username"/></td>
                                </tr>
                                <tr>
                                    <td><strong>Password&nbsp;&nbsp;&nbsp;</strong></td>
                                    <td><stripes:password name="password"/></td>
                                </tr>
                                <tr>
                                    <td></td>
						            <td align="right">
						              <%-- If the security servlet attached a targetUrl, carry that along. --%>
						              <stripes:hidden name="targetUrl" value="${request.parameterMap['targetUrl']}"/>
						              <stripes:submit name="login" value="Login"/>
						            </td>
                                </tr>
                            </tbody>
                    </table>
                </stripes:form>
                <p>
                <table id="ErrorMessageTable">
  						<tr><td><font color="red">${actionBean.errorMessage}</font></td></tr>
				</table>
				</p>
			</div>
			<p class="links"><a href="http://isern.iese.de/network/ISERN/pub/isern.mail.html" class="comments">Contact Us</a></p>
		</div>
	</div>
	<!-- end content -->
	<div style="clear: both;">&nbsp;</div>
</div>
<!-- end page -->
<hr />
<div id="footer">
	<p>&copy;2007 All Rights Reserved.</p>
</div>
</body>
</html>
